package cn.com.hfuu;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * 产生随机主键
 * @author git
 *
 */
public class UUIdUtil {
	private String uuid;
	
	
	public String getUuid() {
		Date date = new Date();
		SimpleDateFormat sdf = new SimpleDateFormat("yyMMddHHmm");
		int ran=(int) ((Math.random()*9+1)*100);
		uuid=sdf.format(date)+ran;
		return uuid;
	}

	
}
